# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=duperemove
pkgver=0.11.1
pkgrel=0
pkgdesc="Tools for deduping file systems"
url="https://github.com/markfasheh/duperemove"
arch="all"
license="GPL-2.0-only"
makedepends="glib-dev linux-headers sqlite-dev"
options="!check"  # no tests provided
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/markfasheh/$pkgname/archive/v$pkgver.tar.gz"

build() {
	make
}

package() {
	make DESTDIR="$pkgdir" PREFIX=/usr install
}

sha512sums="3c344b00b8fb58a259840aea977ba2e5123b651bb58ec84177bdfd8337a377361984b85c6325271b7d3e4ea216017fa6fda793136c83e9837a13ec041df326b9  duperemove-0.11.1.tar.gz"
